package com.dongdongshop.service;

import com.dongdongshop.data.Page;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbItem;

import java.util.List;

public interface GoodService {
    Boolean addGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, TbItem tbItem);

    Page<TbGoods> goodsList(String goodsName, Integer pageNumber, Integer pageSize);

    Integer upStatus(Long[] ids);

    Integer outStatus(Long[] ids);

    TbGoods selectGoodsById(Long goodsId);
}
